package cn.mineserv.video.videoordersystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`user`")
public class User implements Serializable {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField(value = "report_id")
    private Integer reportId;

    @TableField(value = "follow_id")
    private Integer followId;

    @TableField(value = "user_name")
    private String userName;

    @TableField(value = "`password`")
    private String password;

    @TableField(value = "nick_name")
    private String nickName;

    @TableField(value = "user_status")
    private Integer userStatus;

    @TableField(value = "user_avatar")
    private String userAvatar;

    private static final long serialVersionUID = 1L;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_REPORT_ID = "report_id";

    public static final String COL_FOLLOW_ID = "follow_id";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_PASSWORD = "password";

    public static final String COL_NICK_NAME = "nick_name";

    public static final String COL_USER_STATUS = "user_status";

    public static final String COL_USER_AVATAR = "user_avatar";
}